<template>
  <div class="discount-skeleton">
        <div class="block" v-for="i in 4">
            <div class="left">
            </div>
            <div class="right">
                <div class="right-top">
                    <div class="right-top-item"></div>
                    <div class="right-top-item second"></div>
                </div>
                <div class="right-bottom">
                </div>
            </div>
        </div>
  </div>
</template>

<script>
export default {
  name: "s-discount",
  created() {}
};
</script>

<style lang="stylus" rel="stylesheet/stylus" scoped>
.discount-skeleton {
    padding: 0.14rem 0.18rem 0 0.18rem;
    box-sizing: border-box;

    .block {
        width: 100%;
        height: 0.9rem;
        margin-bottom: 0.12rem;
        display: flex;

        .left {
            background-color: #e6e6e6;
            width: 0.8rem;
            height: 0.8rem;
            border-radius: 0.04rem;
            align-self: center;
        }

        .right {
            flex: 1;
            margin: 0.05rem 0.05rem 0.05rem 0.15rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            .right-top {
                flex 1;

                .right-top-item {
                    background-color: #e6e6e6;
                    width: .8rem;
                    height: 0.09rem;
                    border-radius: 0.02rem;
                    margin-top .1rem;

                    &.second {
                        width: 1.2rem;
                        height: 0.09rem;
                        margin-top: 0.1rem;
                    }
                }
            }

            .right-bottom {
                align-self: flex-end;
                background-color: #e6e6e6;
                width: 0.32rem;
                height: 0.09rem;
                border-radius: 0.03rem;
                margin-bottom .1rem;
                margin-right .08rem;
            }
        }
    }
}
</style>